package com.wyf.springbootmybatis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan({"com.wyf.springbootmybatis.dao", "com.baomidou.mybatisplus.samples.quickstart.mapper"}) // 扫描指定包下的接口类
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
